<?php
    $this->Html->css('controllers/Passports/control.css?2', array('block' => 'stylesTop'));
    $this->Html->script('controllers/Passports/control.js?3', array('block' => 'scriptBottom'));

    $appBosch->urlRead = $this->Html->url(array('action' => 'passportsControl'));
    $appBosch->urlMoes = $this->Html->url(array('controller' => 'Moes', 'action' => 'read'));
    $appBosch->urlAreas = $this->Html->url(array('controller' => 'Areas', 'action' => 'getAreasByMoe'));
?>

<div class="searchFilters">
    <p>
        <label for="moes"><?php echo __('MOE'); ?>:</label>
        <input id="moes" name="moe" style="width: 270px" required/>
    </p>
    <p>
        <label for="areas"><?php echo __('Área'); ?>:</label>
        <input id="areas" name="area"  style="width: 270px" required/>
    </p>
    <p>
        <label for="certSuccess"><?php echo __('Incluir certificaciones exitosas'); ?>:</label>
        <input id="certSuccess" name="certSuccess"  type="checkbox" style="" required/>
    </p>
</div>

<div id="grid"></div>

<?php $this->start('jsVars'); ?>
    <script type="text/javascript">
        var appBosch = <?php echo json_encode($appBosch); ?>;
    </script>
<?php $this->end();